package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 出库单对象 slyj_delivery_order
 *
 * @author tanshen
 * @date 2023-08-26
 */

@TableName("slyj_delivery_order")
@Data
public class DeliveryOrder extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 出库单号
     */
    @Excel(name = "出库单号")
    private String orderId;

    /**
     * 领用单位
     */
    @Excel(name = "领用单位")
    private String department;

    /**
     * 领用工段
     */
    @Excel(name = "领用工段")
    private String section;

    /**
     * 出库类别
     */
    @Excel(name = "出库类别")
    private String deliveryType;

    /**
     * 出库时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出库时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date outboundTime;

    /**
     * 审批人
     */
    @Excel(name = "审批人")
    private String approver;

    /**
     * 领料人
     */
    @Excel(name = "领料人")
    private String picker;

    /**
     * 仓管员
     */
    @Excel(name = "仓管员")
    private String warehouseKeeper;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String mark;

}